package link.anyauto.fsmgr.base;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

/**
 * Created by Administrator on 2016/7/17.
 */
public class ActBase extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        initBinding();
        initVM();
        initHandlers();
        postInit();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        unbind();
    }

    protected void initBinding(){}
    protected void initVM(){}
    protected void initHandlers(){}
    protected void postInit(){}
    protected void unbind(){}
}
